package com.novel.pojo.system;

import lombok.Data;

import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
 * 章节购买记录
 */
@Data
@Table(name = "system_chapter_order")
public class ChapterOrder {
    @Id
    private String id;//主键id
    private Date createdTime;//创建时间
    private String createdIp;//购买时的ip
    private String userId;//用户id
    private String chapterId;//章节id
    private Integer cost;//花费的虚拟币
    private Integer balance;//当时的账户余额
}